<?php
class Kuesioner_model extends CI_Model {

//	function getKuesioner1($perPage,$uri) { //to get all data in tb_book
//	$this->db->select('*');
//	$this->db->from('kuesioner');
//	$this->db->order_by('id_kuesioner','DESC');
//	$query = $this->db->get('', $perPage, $uri);
//	return $query;
//
//	}

	function getKues(){
		$this->db->select('*');
		$this->db->from('kuesioner');
		$this->db->order_by('id_kuesioner','DESC');
		$query = $this->db->get();
		return $query;
	}
		
}
?>